package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Clazz;
import cn.wolfcode.crm.query.ClazzQueryObject;

import java.util.List;

public interface ClazzMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Clazz record);

    Clazz selectByPrimaryKey(Long id);

    List<Clazz> selectAll();

    int updateByPrimaryKey(Clazz record);

    /**
     * 班级分页查询信息
     * @param qo
     * @return
     */
    int queryForCount(ClazzQueryObject qo);

    List<Clazz> queryForList(ClazzQueryObject qo);
    //状态
    void start(Long id);
}